package com.zhika.zishi.fragments;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.text.method.ScrollingMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.zhika.zishi.R;

/**
 * Created by shi-02 on 2015/4/9.
 */
public class StrategyFragment extends Fragment {

    private View view;

    private TextView contentText;

    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {

        view = inflater.inflate(R.layout.strategy_fragment,container,false);

        contentText = (TextView) view.findViewById(R.id.strategy_fragment_content_text);
        contentText.setMovementMethod(ScrollingMovementMethod.getInstance());

        return view;

    }
}
